package pool.book;

import java.util.List;

/**
 * @Author Administrator
 * @Date 2020/5/26 16:17
 **/
public interface BookDao {



    List<Book> selectAll();

    int insert(Book book);

    int update(int id,Book book);

    int delete(int id);

    Book selectByName(String name);
}
